import request from '@/router/axios'

export function getSizeList(data) {
    return request({
        url: '/goods/api/ManGoodsSpec/GetSpecList',
        method: 'post',
        data
    })
}

export function addSize(data) {
    return request({
        url: '/goods/api/ManGoodsSpec/Add',
        method: 'post',
        data
    })
}

export function deleteSize(data) {
    return request({
        url: '/goods/api/ManGoodsSpec/Delete',
        method: 'post',
        data
    })
}

export function getValueSizeList(data) {
    return request({
        url: '/goods/api/ManGoodsSpec/GetSpecValueList',
        method: 'post',
        data
    })
}

export function addValueSize(data) {
    return request({
        url: '/goods/api/ManGoodsSpec/AddSpecValue',
        method: 'post',
        data
    })
}

export function deleteValueSize(data) {
    return request({
        url: '/goods/api/ManGoodsSpec/DeleteSpecValue',
        method: 'post',
        data
    })
}


